home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / FRYANEGG.ZIP / P4DEF_03.INC < prev    next >
Encoding:
Text File  |  1996-08-31  |  5.1 KB  |  136 lines

  1.  
  2. //------------------------------------------------------------------->
  3. //------------------------------------------------------------------->
  4. //
  5. // p4def_03.inc - The friendly mailman.
  6. //
  7. // "Paul's Primitive POV People", or "P4".
  8. //
  9. // Created by: Paul T. Dawson
  10. //             ptdawson@voicenet.com
  11. //             http://www.voicenet.com/~ptdawson
  12. //
  13. //------------------------------------------------------------------->
  14. //------------------------------------------------------------------->
  15. //
  16. // Declare the *textures* for everything.
  17.  
  18.         #declare P4_Eye_Texture = texture { pigment { Blue } }
  19.         #declare P4_Glasses_Texture = texture { pigment{Gray30} }
  20.         #declare P4_Hair_Texture = texture { pigment { Yellow } }
  21.         #declare P4_Hat_Texture = texture { pigment { White } }
  22.         #declare P4_Shirt_Texture = texture { pigment { SteelBlue } }
  23.         #declare P4_Shoe_Texture = texture { pigment { Gray10 } }
  24.         #declare P4_Shorts_Texture = texture { pigment { NavyBlue } }
  25.         #declare P4_Skin_Texture = texture { pigment { Copper } }
  26.  
  27. //------------------------------------------------------------------->
  28. //------------------------------------------------------------------->
  29. //
  30. // Now choose *types* of things. You will have to read the directions
  31. // to see what numbers are legal here!
  32.  
  33.         #declare P4_Eye_Type = 1
  34.         #declare P4_Glasses_Type = 1
  35.         #declare P4_Hair_Type = 1
  36.         #declare P4_Hand_Type = 2
  37.         #declare P4_Hat_Type = 3
  38.         #declare P4_Mouth_Type = 1
  39.         #declare P4_Nose_Type = 1
  40.         #declare P4_Shirt_Type = 2
  41.         #declare P4_Shoe_Type = 1
  42.         #declare P4_Shorts_Type = 1
  43.  
  44. //------------------------------------------------------------------->
  45. //------------------------------------------------------------------->
  46. //
  47. // Set the sizes of various things.
  48.  
  49.         #declare P4_Leg_Length = 30
  50.         #declare P4_Neck_Height = 3
  51.         #declare P4_Shirt_Height = 24
  52.         #declare P4_Shorts_Height = 12
  53.  
  54. //------------------------------------------------------------------->
  55. //------------------------------------------------------------------->
  56. //
  57. // Choose the rotation values. Please read the directions!
  58.  
  59.         #declare P4_Hat_Rotate = < 5, 0, 0 >
  60.         #declare P4_Neck_Rotate = < 0, 0, 0 >
  61.         #declare P4_Waist_Rotate = < -10, 0, 0 >
  62.  
  63.         #declare P4_Left_Elbow_Rotate = < -30, -60, 0 >
  64.         #declare P4_Right_Elbow_Rotate = < 0, 60, 0 >
  65.  
  66.         #declare P4_Left_Eyelid_Rotate = 0
  67.         #declare P4_Right_Eyelid_Rotate = 0
  68.  
  69.         #declare P4_Left_Knee_Rotate = < -10, 0, 0 >
  70.         #declare P4_Right_Knee_Rotate = < -20, 0, 0 >
  71.  
  72.         #declare P4_Left_Leg_Rotate = < -10, 0, 0 >
  73.         #declare P4_Right_Leg_Rotate = < 30, 0, 5 >
  74.  
  75.         #declare P4_Left_Shoulder_Rotate = < -80, 0, 40 >
  76.         #declare P4_Right_Shoulder_Rotate = < -30, 0, -40 >
  77.  
  78. //------------------------------------------------------------------->
  79. //------------------------------------------------------------------->
  80. //
  81. // Create the optional "holding" object. This will go into the left
  82. // hand, and move with the hand. This is optional - just comment it
  83. // out if not needed, and set the flag to "false".
  84. //
  85. // The flag is necessary to prevent person #2 from carrying the object
  86. // that you gave to person #1. Set it to true or false.
  87.  
  88.         #declare P4_Holding_Flag = true
  89.  
  90.         #declare P4_Holding_Object =
  91.                 box { <-0.2,0,-2><0.2,10,2>pigment{White} }
  92.  
  93. //------------------------------------------------------------------->
  94. //------------------------------------------------------------------->
  95. //
  96. // Make another optional object - a "bracelet". This also has a flag
  97. // to set on/off. This prevents duplicate bracelets! The bracelet
  98. // should be at <0,0,0>, just like a standard torus.
  99.  
  100.         #declare P4_Bracelet_Flag = false
  101.  
  102.         #declare P4_Bracelet_Object =
  103.                 torus { 3, 1 pigment{Red} }
  104.  
  105. //------------------------------------------------------------------->
  106. //------------------------------------------------------------------->
  107. //
  108. // Despite my attempts at using "realistic inches" as units, the
  109. // people always seem to end up 8 or 9 feet tall. This variable lets
  110. // you scale the person down to a normal size. Use the P4_TEST.POV
  111. // scene to see how tall your person actually is!
  112.  
  113.         #declare P4_Total_Scale = 80/100
  114.  
  115. //------------------------------------------------------------------->
  116. //------------------------------------------------------------------->
  117. //
  118. // This is the height to move the person up, so his/her feet are on
  119. // the floor. Sorry, but because of bendable legs, this has to be
  120. // adjusted manually (by YOU). 8-)
  121.  
  122.         #declare P4_Y_Adjust = 31
  123.  
  124. //------------------------------------------------------------------->
  125. //------------------------------------------------------------------->
  126. //
  127. // Now call "p4_main.inc" to create the object.
  128.  
  129.         #include "p4_main.inc"
  130.  
  131. //------------------------------------------------------------------->
  132. //------------------------------------------------------------------->
  133. //
  134. // End of this file.
  135.  
  136.